html, body {
  height: 100%;
}

body {
  background-color: #000;
}

.viewer {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}